import request from "@/utils/request"

export function getOrderByStatus(params){
  return request({
    url:'/user/getOrderByStatus',
    method:'get',
    params
  })
}

export function doctorGetMedicineList(){
  return request({
    url:'/user/getMedicine',
    method:'get'
  })
}

export function doctorRecommendMedicine(params){
  return request({
    url:'/user/recommendMedicine',
    method:'get',
    params
  })
}

export function searchMedicines(params){
  return request({
    url:'/user/searchMedicine',
    method:'get',
    params
  })
}

export function cancelRecommendMedicine(params){
  return request({
    url:'/user/cancelRecommendMedicine',
    method:'get',
    params
  })
}